package com.example.toolproject.demo.domain;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.metadata.BaseRowModel;
import lombok.Data;
import org.apache.ibatis.type.Alias;

import java.util.Date;

/**
 * @ClassName labReport
 * @Description TODO    实验报告实体类
 * @Author lvyongwei
 * @Date 2020-06-30 10:21
 **/
@Data
@Alias("labReport")
public class LabReport extends BaseRowModel {

    /**
     * 实验报告id
     */
    @ExcelIgnore
    private long reportId;
    /**
     * 学校名称
     */
    @ColumnWidth(20)
    @ExcelProperty( index = 0 , value = "学校名称")
    private String school;
    /**
     * 学生姓名
     */
    @ColumnWidth(20)
    @ExcelProperty( index = 1 , value = "学生姓名")
    private String studentName;
    /**
     * 指导教师姓名
     */
    @ColumnWidth(25)
    @ExcelProperty( index = 2 , value = "指导教师姓名")
    private String teacherName;
    /**
     * 分数
     */
    @ExcelProperty( index = 3 , value = "总分")
    private double score;
    /**
     * 实验日期
     */
    @ColumnWidth(15)
    @ExcelProperty( index = 4 , value = "提交日期")
    private Date labDate;
    /**
     * 模块一分数
     */
    @ColumnWidth(20)
    @ExcelProperty( index = 5 , value = "模块一分数")
    private double moduleOne;
    /**
     * 模块二分数
     */
    @ColumnWidth(20)
    @ExcelProperty( index = 6 , value = "模块二分数")
    private double moduleTwo;
    /**
     * 模块三分数
     */
    @ColumnWidth(20)
    @ExcelProperty( index = 7 , value = "模块三分数")
    private double moduleThree;
    /**
     * 模块四分数
     */
    @ColumnWidth(20)
    @ExcelProperty( index = 8 , value = "模块四分数")
    private double moduleFour;
    /**
     * 模块五分数
     */
    @ColumnWidth(20)
    @ExcelProperty( index = 9 , value = "模块五分数")
    private double moduleFive;
    /**
     * 模块六分数
     */
    @ColumnWidth(20)
    @ExcelProperty( index = 10 , value = "模块六分数")
    private double moduleSix;
    /**
     * 模块七分数
     */
    @ColumnWidth(20)
    @ExcelProperty( index = 11 , value = "模块七分数")
    private double moduleSeven;
    /**
     * 模块八分数
     */
    @ColumnWidth(20)
    @ExcelProperty( index = 12 , value = "模块八分数")
    private double moduleEight;
    /**
     * 实验结论和分析
     */
    @ColumnWidth(20)
    @ExcelProperty( index = 13 , value = "实验结论和分析")
    private String experimentAnalysis;
    /**
     * 用户id
     */
    @ExcelIgnore
    private int userId;
}

